package com.fare.taluo.core.domain.system;

import java.util.Date;
import java.util.List;

import com.dayatang.domain.EntityRepository;
import com.dayatang.querychannel.support.Page;
import com.fare.taluo.core.domain.queue.message.QueueEmailMessageEntity;
public interface EmailEntityRepository extends EntityRepository{
	/**
	 * 初始化Email
	 * @return
	 */
	public List<EmailEntity> findAllEmail(int statu);
	
	/**
	 * 手动下载载报表
	 * @param
	 * @return
	*/
	public Page<QueueEmailMessageEntity> findEntityByPage(QueueEmailMessageEntity query,int pageNo, int pageSize);
	
	/**
	 * 手动下载载单报表
	 * @param
	 * @return
	*/
	public List<QueueEmailMessageEntity> findEntityByDate(Date createDate);
	
	
	
}
